package com.hai.bean;


/**
 * Friendship entity. @author MyEclipse Persistence Tools
 */

public class Friendship implements java.io.Serializable {

	// Fields

	private Integer FId;
	private Group group;//null表示黑名单，GId为0表示分组 “我的好友”
	private User userByFriendId;
	private User userByHostId;
	private String friendRemark;

	// Constructors

	/** default constructor */
	public Friendship() {
	}

	/** full constructor */
	public Friendship(Group group, User userByFriendId, User userByHostId,
			String friendRemark) {
		this.group = group;
		this.userByFriendId = userByFriendId;
		this.userByHostId = userByHostId;
		this.friendRemark = friendRemark;
	}

	// Property accessors

	public Integer getFId() {
		return this.FId;
	}

	public void setFId(Integer FId) {
		this.FId = FId;
	}

	public Group getGroup() {
		return this.group;
	}

	public void setGroup(Group group) {
		this.group = group;
	}


	public User getUserByFriendId() {
		return this.userByFriendId;
	}

	public void setUserByFriendId(User userByFriendId) {
		this.userByFriendId = userByFriendId;
	}


	public User getUserByHostId() {
		return this.userByHostId;
	}

	public void setUserByHostId(User userByHostId) {
		this.userByHostId = userByHostId;
	}

	public String getFriendRemark() {
		return this.friendRemark;
	}

	public void setFriendRemark(String friendRemark) {
		this.friendRemark = friendRemark;
	}

}